package com.study.mq.domain;

/**
 * @author ysy
 * @version 1.0
 * @Title: Message
 * @Note <b>ProjectName:</b> Pre-research
 * <br><b>PackageName:</b> com.study.mq.kafka.domain
 * <br><b>ClassName:</b>
 * <br><b>Date:</b>
 */
public class MessageDO {

    private String content;

    private String name;

    public MessageDO() {
    }

    public MessageDO(String content, String name) {
        this.content = content;
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "MessageDO{" +
                "content='" + content + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
